<?php

namespace app\admin\model\shopro\user;

use app\admin\model\shopro\Common;

class Real extends Common
{
    protected $name = 'shopro_user_real';

    protected $updateTime = false;

    protected $append = [
        'status_text',
    ];


    public function statusList()
    {
        return [
            '0' => '待审核',
            '1' => '通过',
            '2' => '驳回',
        ];
    }
    public function user()
    {
        return $this->belongsTo(User::class, 'user_id', 'id');
    }
}
